package com.altaic.samples ;

import com.altaic.structure.AltaicAdjective ;
import com.altaic.structure.AltaicNoun ;
import com.altaic.structure.JapaneseNoun ;
import com.altaic.structure.JapaneseSentence ;
import com.altaic.structure.JapaneseVerb ;
import com.altaic.structure.verbs.JapaneseVerbUtils ;

public class SamplesSimple
{
    //I can swim                            - Watashi ga oyogemasu
    //I want to eat sushi                   - Watashi ga sushi o tabetai desu.
    //I must study                          - Watashi benkyou shinakereba narimasen.    
    
    public static JapaneseSentence sampleProbablityWithTarget( String target ,String time)
    {
        JapaneseSentence japaneseSentence = new JapaneseSentence( ) ;

        JapaneseNoun subject = new JapaneseNoun( "watashi" ) ;
        japaneseSentence.setSubject( subject ) ;

        JapaneseNoun object1 = new JapaneseNoun( "uchi" ) ;
        object1.setState( AltaicNoun.NOUN_CASE_DATIVE ) ;
        
        JapaneseNoun possesion = new JapaneseNoun( "tomodachi" );
        possesion.addAdjective( new AltaicAdjective( "akarui" ) ) ;
        object1.setPossesion( possesion );
        
        japaneseSentence.addObject( object1 ) ;

        JapaneseVerb japaneseVerb = new JapaneseVerb( "yasumu", target, time ) ;        
        japaneseSentence.setVerb( japaneseVerb ) ;

        return japaneseSentence ;
    }
    
    public static JapaneseSentence sampleProbablity1( )
    {
        JapaneseSentence japaneseSentence = new JapaneseSentence( ) ;

        JapaneseNoun subject = new JapaneseNoun( "watashi" ) ;
        japaneseSentence.setSubject( subject ) ;

        JapaneseNoun object1 = new JapaneseNoun( "umi" ) ;
        object1.setState( AltaicNoun.NOUN_CASE_LOCATIVE ) ;
        japaneseSentence.addObject( object1 ) ;

        JapaneseVerb japaneseVerb = new JapaneseVerb( "oyogu", JapaneseVerbUtils.TARGET_PROBABILITY_1, JapaneseVerbUtils.TIME_SIMPLE_PRESENT ) ;        
        japaneseSentence.setVerb( japaneseVerb ) ;

        return japaneseSentence ;
    }
    
    public static JapaneseSentence sampleProbablity2( )
    {
        JapaneseSentence japaneseSentence = new JapaneseSentence( ) ;

        JapaneseNoun subject = new JapaneseNoun( "watashi" ) ;
        japaneseSentence.setSubject( subject ) ;

        JapaneseNoun object1 = new JapaneseNoun( "umi" ) ;
        object1.setState( AltaicNoun.NOUN_CASE_LOCATIVE ) ;
        japaneseSentence.addObject( object1 ) ;

        JapaneseVerb japaneseVerb = new JapaneseVerb( "oyogu", JapaneseVerbUtils.TARGET_PROBABILITY_2, JapaneseVerbUtils.TIME_SIMPLE_PRESENT ) ;        
        japaneseSentence.setVerb( japaneseVerb ) ;

        return japaneseSentence ;
    }
    
    public static JapaneseSentence sampleAbility( )
    {
        JapaneseSentence japaneseSentence = new JapaneseSentence( ) ;

        JapaneseNoun subject = new JapaneseNoun( "watashi" ) ;
        japaneseSentence.setSubject( subject ) ;

        JapaneseNoun object1 = new JapaneseNoun( "umi" ) ;
        object1.setState( AltaicNoun.NOUN_CASE_LOCATIVE ) ;
        japaneseSentence.addObject( object1 ) ;

        JapaneseVerb japaneseVerb = new JapaneseVerb( "oyogu", JapaneseVerbUtils.TARGET_BEGINNIG, JapaneseVerbUtils.TIME_SIMPLE_PRESENT ) ;        
        japaneseSentence.setVerb( japaneseVerb ) ;

        return japaneseSentence ;
    }

    public static JapaneseSentence sampleSimple1( )
    {
        JapaneseSentence japaneseSentence = new JapaneseSentence( ) ;

        JapaneseNoun subject = new JapaneseNoun( "watashi" ) ;
        japaneseSentence.setSubject( subject ) ;

        JapaneseNoun object1 = new JapaneseNoun( "ie" ) ;
        object1.setState( AltaicNoun.NOUN_CASE_LOCATIVE ) ;
        japaneseSentence.addObject( object1 ) ;

        JapaneseVerb japaneseVerb = new JapaneseVerb( "taberu", JapaneseVerbUtils.TARGET_SIMPLE_PRESENT, JapaneseVerbUtils.TIME_PRESENT_CONTINUOUS ) ;
        japaneseSentence.setVerb( japaneseVerb ) ;

        return japaneseSentence ;
    }

    public static JapaneseSentence sampleSimple2( )
    {
        JapaneseSentence japaneseSentence = new JapaneseSentence( ) ;

        JapaneseNoun subject = new JapaneseNoun( "watashi" ) ;
        japaneseSentence.setSubject( subject ) ;

        JapaneseNoun object1 = new JapaneseNoun( "gakkou" ) ;
        object1.setState( AltaicNoun.NOUN_CASE_DATIVE ) ;
        japaneseSentence.addObject( object1 ) ;

        JapaneseVerb japaneseVerb = new JapaneseVerb( "aruku", JapaneseVerbUtils.TARGET_SIMPLE_PRESENT, JapaneseVerbUtils.TIME_PRESENT_CONTINUOUS ) ;        
        japaneseSentence.setVerb( japaneseVerb ) ;

        return japaneseSentence ;
    }

}
